<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<Htse.Blue.Models.Car>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Blue - Nuova Auto
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Crea nuova auto</h2>
    <%= Html.ValidationSummary(Messages.ErrorInsertingData)%>
    <% using (Html.BeginForm())
       {%>
    <fieldset>
        <legend>Dati dell'auto</legend>
        <% Html.RenderPartial("CarForm"); %>
        <p>
            <input type="submit" value="Salva" />
        </p>
    </fieldset>
    <% } %>
    <div>
        <%=Html.ActionLink("Indietro", "Display", "Umpire", new { }, new { })%>
    </div>
</asp:Content>
